<%-- 
    Document   : MenuUser
    Created on : Nov 18, 2011, 10:24:55 AM
    Author     : JackOddie
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link media="all" href="style.css" type="text/css" rel="stylesheet">
        <title>JSP Page</title>
    </head>
    <body>
        
        <% if (session.getAttribute("userOnline") == null) {
                Entities.User online = new Entities.User(request.getParameter("email"),
                        request.getParameter("passWd"));
                online.getAllData();
                session.setAttribute("userOnline", online);

            }            
        %>
        
        <table border="0" cellspacing="10">
            <tr><td>ADD</td><td>EDIT</td><td>DELETE</td></tr>
        </table>
        
        
        <table border="0" cellspacing="2" width="1200" height="500">  
            <%int x = 1;
            for (int i = 0; i < 4; i++) {%>
            <tr>
                <%for (int j = 0; j < 10; j++) {%>
                
                
                    <%if (x < 32) {%>
                    <td bgcolor="#ffcccc" align="center">
                        <a href="?action=date" ><%=x%></a>
                    </td>
                    <%}%>              
                
                
                <%x++;
            }%>
            </tr>
            <%}%>
        </table>
    </body>
</html>
